	<div id="main" class="grid_15 alpha omega">
		<div class="prefix_4 post">
		<?php if($this->session->flashdata('message')):?>
			<div class="message" id="message"><?=$this->session->flashdata('message');?></div>
			<?
				echo "<script>setTimeout(function (){document.getElementById('message').style.display = 'none';}, 2000)</script>";
			?>
		<?php endif;?>
			
		<?=validation_errors(); ?>
			<div class="account">
				<h3>请先登录</h3>
				<?=form_open('user/login', array('id'=>'loginform'));?>
				<div class="SignInPanel">
					<?=form_label('用户名')?>
					<div class="FieldItem">
						<?=form_input(array('name'=>'username', 'class'=>'text'))?>
					</div>				
					<?=form_label('密码')?>
					<div class="FieldItem">
						<?=form_password(array('name'=>'password', 'class'=>'text'))?>
					</div>				
					<p class="accountsubmit">
						<span class="checkbox">
							<?=form_checkbox('remember', 1)?>
						</span>记住我
						<?=form_submit('', '', 'class=submit');?>
					</p>
				</div>
				</form>
			</div>			

		</div>
    </div>


	